package com.grj.template.boot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.grj.template.boot.domain.Dictionary;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.validation.Valid;
import java.util.Date;
import java.util.List;

/**
* @author eren
* @description 针对表【dictionary】的数据库操作Service
* @createDate 2024-10-21 15:45:24
*/
public interface DictionaryService extends IService<Dictionary> {

    Page<Dictionary> fetchDictionaryPage(int currentPage, int pageSize, Dictionary dictionary, List<Date> during);

    void postDictionary(@Valid Dictionary dictionary);

    void putDictionary(@Valid Dictionary dictionary);

    void delDictionary(Long id);

    void batchDelDictionary(List<Long> ids);

    Dictionary fetchDictionaryById(Long id);
}
